/**
 * Created by Administrator on 2017/6/28 0028.
 */
var express = require('express');
var fs = require('fs');
var router = express.Router();

router.get('/appstore/loadappList', function (req, res, next) {
    fs.readFile('public/json/app_store.json', function (err, data) {
        if (err)
            throw err;
        var jsonObj = JSON.parse(data);
        res.send(jsonObj);
    });
});

module.exports = router;